{
	"patcher" : 	{
		"fileversion" : 1,
		"appversion" : 		{
			"major" : 5,
			"minor" : 1,
			"revision" : 9
		}
,
		"rect" : [ 66.0, 240.0, 887.0, 466.0 ],
		"bglocked" : 0,
		"defrect" : [ 66.0, 240.0, 887.0, 466.0 ],
		"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
		"openinpresentation" : 1,
		"default_fontsize" : 12.0,
		"default_fontface" : 0,
		"default_fontname" : "Arial",
		"gridonopen" : 2,
		"gridsize" : [ 15.0, 15.0 ],
		"gridsnaponopen" : 2,
		"toolbarvisible" : 1,
		"boxanimatetime" : 200,
		"imprint" : 0,
		"enablehscroll" : 1,
		"enablevscroll" : 1,
		"devicewidth" : 0.0,
		"boxes" : [ 			{
				"box" : 				{
					"maxclass" : "bpatcher",
					"varname" : "main-header",
					"presentation" : 1,
					"id" : "obj-7",
					"name" : "mainheader.maxpat",
					"args" : [ 100 ],
					"numinlets" : 0,
					"presentation_rect" : [ 0.0, 0.0, 431.0, 19.0 ],
					"numoutlets" : 0,
					"patching_rect" : [ 45.0, 345.0, 467.0, 142.0 ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "newobj",
					"text" : "_addsearchpaths.maxpat _main.maxpat",
					"outlettype" : [ "" ],
					"fontsize" : 12.0,
					"id" : "obj-2",
					"numinlets" : 1,
					"fontname" : "Arial",
					"numoutlets" : 1,
					"patching_rect" : [ 480.0, 225.0, 224.0, 20.0 ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "newobj",
					"text" : "thispatcher",
					"outlettype" : [ "", "" ],
					"fontsize" : 12.0,
					"id" : "obj-1",
					"numinlets" : 1,
					"fontname" : "Arial",
					"numoutlets" : 2,
					"patching_rect" : [ 480.0, 255.0, 69.0, 20.0 ],
					"save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "< wrappers, nu anpassar de sig efter innehallet.. funkar inte hundra men komm mer",
					"linecount" : 4,
					"presentation_linecount" : 4,
					"presentation" : 1,
					"fontsize" : 12.0,
					"id" : "obj-4",
					"numinlets" : 1,
					"presentation_rect" : [ 345.0, 30.0, 150.0, 62.0 ],
					"fontname" : "Arial",
					"numoutlets" : 0,
					"patching_rect" : [ 300.0, 180.0, 150.0, 62.0 ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "abstraction for sorting out subfolders",
					"fontsize" : 12.0,
					"id" : "obj-3",
					"numinlets" : 1,
					"fontname" : "Arial",
					"numoutlets" : 0,
					"patching_rect" : [ 600.0, 60.0, 217.0, 20.0 ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "ViewWrapper::view::decay 50.3937",
					"outlettype" : [ "" ],
					"fontsize" : 12.0,
					"id" : "obj-18",
					"numinlets" : 2,
					"fontname" : "Arial",
					"numoutlets" : 1,
					"patching_rect" : [ 30.0, 570.0, 247.0, 18.0 ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "newobj",
					"varname" : "container-msg-router",
					"text" : "pattrstorage container-msg-router @savemode 0 @autorestore 0 @outputmode 2 @greedy 1",
					"outlettype" : [ "" ],
					"fontsize" : 12.0,
					"id" : "obj-16",
					"numinlets" : 1,
					"fontname" : "Arial",
					"numoutlets" : 1,
					"patching_rect" : [ 30.0, 525.0, 507.0, 20.0 ],
					"saved_object_attributes" : 					{
						"parameter_enable" : 0,
						"storage_rect" : [ 583, 69, 1034, 197 ],
						"client_rect" : [ 4, 44, 358, 172 ],
						"paraminitmode" : 0
					}

				}

			}
, 			{
				"box" : 				{
					"maxclass" : "outlet",
					"id" : "obj-10",
					"numinlets" : 1,
					"numoutlets" : 0,
					"patching_rect" : [ 300.0, 270.0, 25.0, 25.0 ],
					"comment" : "audio out 2"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "outlet",
					"id" : "obj-6",
					"numinlets" : 1,
					"numoutlets" : 0,
					"patching_rect" : [ 15.0, 270.0, 25.0, 25.0 ],
					"comment" : "audio out 1"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "inlet",
					"outlettype" : [ "" ],
					"id" : "obj-5",
					"numinlets" : 0,
					"numoutlets" : 1,
					"patching_rect" : [ 525.0, 15.0, 25.0, 25.0 ],
					"comment" : "midi in"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "bpatcher",
					"varname" : "ViewWrapper",
					"presentation" : 1,
					"outlettype" : [ "" ],
					"id" : "obj-9",
					"name" : "ViewWrapper.maxpat",
					"args" : [ "#1", "ADSRView.maxpat", "Filter Env" ],
					"numinlets" : 0,
					"presentation_rect" : [ 0.0, 30.0, 150.0, 105.0 ],
					"offset" : [ 3.0, -3.0 ],
					"numoutlets" : 1,
					"patching_rect" : [ 0.0, 0.0, 195.0, 166.0 ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "bpatcher",
					"varname" : "ViewWrapper[1]",
					"presentation" : 1,
					"outlettype" : [ "" ],
					"id" : "obj-13",
					"name" : "ViewWrapper.maxpat",
					"args" : [ "#1", "ADSRView.maxpat", "Amp Env" ],
					"numinlets" : 0,
					"presentation_rect" : [ 150.0, 30.0, 150.0, 105.0 ],
					"offset" : [ 3.0, -3.0 ],
					"numoutlets" : 1,
					"patching_rect" : [ 195.0, 0.0, 195.0, 166.0 ]
				}

			}
 ],
		"lines" : [ 			{
				"patchline" : 				{
					"source" : [ "obj-2", 0 ],
					"destination" : [ "obj-1", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-16", 0 ],
					"destination" : [ "obj-18", 1 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
 ],
		"parameters" : 		{
			"obj-13::obj-1::obj-9" : [ "sustain[1]", "Time", 0 ],
			"obj-13::obj-1::obj-10" : [ "release[1]", "Time", 0 ],
			"obj-9::obj-1::obj-8" : [ "attack", "Time", 0 ],
			"obj-13::obj-1::obj-1" : [ "decay[1]", "Amount", 0 ],
			"obj-9::obj-1::obj-10" : [ "release", "Time", 0 ],
			"obj-9::obj-10" : [ "container-msg-router", "container-msg-router", 0 ],
			"obj-9::obj-1::obj-1" : [ "decay", "Amount", 0 ],
			"obj-9::obj-1::obj-9" : [ "sustain", "Time", 0 ],
			"obj-13::obj-10" : [ "container-msg-router[1]", "container-msg-router", 0 ],
			"obj-13::obj-1::obj-8" : [ "attack[1]", "Time", 0 ]
		}

	}

}
